
package com.shangsi.service.impl;

import com.shangsi.mapper.TOrderMapper;
import com.shangsi.model.TOrder;
import com.shangsi.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author dzd
 * @date 2021-12-19
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Resource
    TOrderMapper tOrderMapper;

    @Override
    public Boolean createOrder(TOrder tOrder) {
        return tOrderMapper.insert(tOrder)>0;
    }
}
